package com.mskj.zxmy.mapper;

import com.mskj.zxmy.entity.Gy02ProductRepository;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * 产品信息表Mapper
 */
@Mapper
public interface Gy02ProductRepositoryMapper {
    /**
     * 根据id查询产品详情
     */
    @Select("SELECT * FROM gy02ProductRepository WHERE id = #{id}")
    Gy02ProductRepository selectById(String id);

    /**
     * 根据任务流水号查询入库产品
     */
    @Select("SELECT * FROM missionInformationSc02 WHERE id = #{id}")
    Gy02ProductRepository selectByMissionStream(String id);
} 